#include<stdio.h>
char* my_strstr(const char* a, const char* b)
{
	const char* s1 = NULL;
	const char* s2 = NULL;
	const char* abb = a;
	while (*abb)
	{
		s1 = abb;
		s2 = b;
		while (*s1!= '\0' && *s2 != '\0' && *s1 == *s2)
		{
			s1++;
			s2++;
		}
		if (*s2 == '\0')
			return (char*)abb;
		abb++;
	}
}
int main()
{
	char a[] = "abdsaksad";
	char b[] = "sak";
	char* r = my_strstr(a, b);
	printf("%s", r);
	return 0;
}